+Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
+
+ (#67542, reported by Anders Carlsson)
+
+ * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
+ rc_style->font_desc with defaul style instead of replacing
+ it.
+
+ * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
+ font descriptions in RC styles by calling
+ pango_font_description_merge().
+
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
+Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
+
+ (#67542, reported by Anders Carlsson)
+
+ * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
+ rc_style->font_desc with defaul style instead of replacing
+ it.
+
+ * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
+ font descriptions in RC styles by calling
+ pango_font_description_merge().
+
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
+Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
+
+ (#67542, reported by Anders Carlsson)
+
+ * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
+ rc_style->font_desc with defaul style instead of replacing
+ it.
+
+ * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
+ font descriptions in RC styles by calling
+ pango_font_description_merge().
+
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
+Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
+
+ (#67542, reported by Anders Carlsson)
+
+ * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
+ rc_style->font_desc with defaul style instead of replacing
+ it.
+
+ * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
+ font descriptions in RC styles by calling
+ pango_font_description_merge().
+
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
+Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
+
+ (#67542, reported by Anders Carlsson)
+
+ * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
+ rc_style->font_desc with defaul style instead of replacing
+ it.
+
+ * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
+ font descriptions in RC styles by calling
+ pango_font_description_merge().
+
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
+Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
+
+ (#67542, reported by Anders Carlsson)
+
+ * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
+ rc_style->font_desc with defaul style instead of replacing
+ it.
+
+ * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
+ font descriptions in RC styles by calling
+ pango_font_description_merge().
+
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
+Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
+
+ (#67542, reported by Anders Carlsson)
+
+ * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
+ rc_style->font_desc with defaul style instead of replacing
+ it.
+
+ * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
+ font descriptions in RC styles by calling
+ pango_font_description_merge().
+
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
if (dest->ythickness < 0 && src->ythickness >= 0)
dest->ythickness = src->ythickness;
- if (!dest->font_desc && src->font_desc)
- dest->font_desc = pango_font_description_copy (src->font_desc);
+ if (src->font_desc)
+ {
+ if (!dest->font_desc)
+ dest->font_desc = pango_font_description_copy (src->font_desc);
+ else
+ pango_font_description_merge (dest->font_desc, src->font_desc, FALSE);
+ }
if (src->rc_properties)
{
clear_property_cache (style);
if (rc_style->font_desc)
- {
- pango_font_description_free (style->font_desc);
- style->font_desc = pango_font_description_copy (rc_style->font_desc);
- }
+ pango_font_description_merge (style->font_desc, rc_style->font_desc, TRUE);
for (i = 0; i < 5; i++)
{